﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace INSTA.BankApplication.DAL
{
    /// <summary>
    /// Exception thrown when a mapped class has two mapped properties
    /// with the "IsPrimaryKey" property set to "true".
    /// </summary>
    public class DuplicatePrimaryKeyException : ApplicationException
    {
        public DuplicatePrimaryKeyException()
        { }

        public DuplicatePrimaryKeyException(string message)
            : base(message)
        { }

        public DuplicatePrimaryKeyException(string message, Exception innerException)
            : base(message, innerException)
        { }


    }
}
